package com.campus_information_portal.entity;

import com.campus_information_portal.util.DateJsonType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Date;

/**
 * @author 20155873 张联富
 * @Description $Description$
 * @methodName $methodName$
 * @date $date$ $time$
 * @return $returns$
 */
public class ExemStuAcaTerm {
    /*private Exemption exemption;
*/

    private int stuInfoId;
    private String exemptionReason;
    private int exemptionFlag;
    @JsonSerialize(using = DateJsonType.class)
    private Date applyTime;
    @JsonSerialize(using = DateJsonType.class)
    private Date disposeTime;
    private  int exemptionId;
    private Integer mark;//成绩
    private int stuNum;
    private String stuName;
    private Float avgMark;
  private String academyName;

    public Integer getMark() {
        return mark;
    }

    public void setMark(Integer mark) {
        this.mark = mark;
    }

    public Float getAvgMark() {
        return avgMark;
    }

    public void setAvgMark(Float avgMark) {
        this.avgMark = avgMark;
    }

    public int getExemptionId() {
        return exemptionId;
    }

    public void setExemptionId(int exemptionId) {
        this.exemptionId = exemptionId;
    }
/*   public Exemption getExemption() {
        return exemption;
    }

    public void setExemption(Exemption exemption) {
        this.exemption = exemption;
    }*/



    @Override
    public String toString() {
        return "ExemStuAcaTerm{" +
                "exemptionId=" + exemptionId +
                ", exemptionReason='" + exemptionReason + '\'' +
                ", stuNum=" + stuNum +
                ", stuName='" + stuName + '\'' +
                ", mark=" + mark +
                ", academyName='" + academyName + '\'' +
                '}';
    }

    public int getStuNum() {
        return stuNum;
    }

    public void setStuNum(int stuNum) {
        this.stuNum = stuNum;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getAcademyName() {
        return academyName;
    }

    public void setAcademyName(String academyName) {
        this.academyName = academyName;
    }


   /*public int getExemptionId() {
        return exemptionId;
    }

    public void setExemptionId(int exemptionId) {
        this.exemptionId = exemptionId;
       // exemption.setExemptionId(exemptionId);
    }*/

    public int getStuInfoId() {
        return stuInfoId;
    }

    public void setStuInfoId(int stuInfoId) {
        this.stuInfoId = stuInfoId;
      //  exemption.setStuInfoId(stuInfoId);
    }

    public String getExemptionReason() {
        return exemptionReason;
    }

    public void setExemptionReason(String exemptionReason) {
        this.exemptionReason = exemptionReason;
      //  exemption.setExemptionReason(exemptionReason);
    }

    public int getExemptionFlag() {
        return exemptionFlag;
    }

    public void setExemptionFlag(int exemptionFlag) {
        this.exemptionFlag = exemptionFlag;
      //  exemption.setExemptionFlag(exemptionFlag);
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
      //  exemption.setApplyTime(applyTime);
    }

    public Date getDisposeTime() {
        return disposeTime;
    }

    public void setDisposeTime(Date disposeTime) {
        this.disposeTime = disposeTime;
       // exemption.setDisposeTime(disposeTime);
    }
}
